Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(icons): changed switch-camera icon #2688

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jguddas
Copy link
Member

@jguddas jguddas commented Dec 11, 2024

What is the purpose of this pull request?

  • Other: Icon update

Description

Changes to camera.

Before Submitting

@github-actions github-actions bot added 🎨 icon About new icons 🫧 metadata Improved metadata labels Dec 11, 2024
Copy link

github-actions bot commented Dec 11, 2024

Added or changed icons

icons/camera-off.svgicons/camera.svgicons/switch-camera.svg

Preview cohesion icons/square-dashed.svgicons/square-arrow-down.svgicons/square-radical.svg
icons/camera-off.svgicons/camera.svgicons/switch-camera.svg
icons/mountain-snow.svgicons/message-square-share.svgicons/wrench.svg
Preview stroke widths icons/camera-off.svgicons/camera.svgicons/switch-camera.svg
icons/camera-off.svgicons/camera.svgicons/switch-camera.svg
icons/camera-off.svgicons/camera.svgicons/switch-camera.svg
DPI Preview (24px) icons/camera-off.svg icons/camera.svg icons/switch-camera.svg
Icon X-rays icons/camera-off.svg icons/camera.svg icons/switch-camera.svg
Icon Diffs icons/camera-off.svg icons/camera.svg icons/switch-camera.svg
Icons as code

Works for: lucide-react, lucide-react-native, lucide-preact, lucide-vue-next

const CameraOffIcon = createLucideIcon('CameraOff', [
  ["path",{"d":"M14.121 14.121A3 3 0 1 1 9.88 9.88"}],
  ["path",{"d":"m2 2 20 20"}],
  ["path",{"d":"M22 16.5V8a2 2 0 0 0-2-2h-2.063a2 2 0 0 1-1.537-.72l-1.3-1.56A2 2 0 0 0 13.563 3h-3.126a2 2 0 0 0-1.324.5"}],
  ["path",{"d":"M6 6H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h15"}]
])

const CameraIcon = createLucideIcon('Camera', [
  ["path",{"d":"M7.6 5.28A2 2 0 0 1 6.063 6H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-2.063a2 2 0 0 1-1.537-.72l-1.3-1.56A2 2 0 0 0 13.563 3h-3.126a2 2 0 0 0-1.537.72z"}],
  ["circle",{"cx":"12","cy":"12","r":"3"}]
])

const SwitchCameraIcon = createLucideIcon('SwitchCamera', [
  ["path",{"d":"M15 19h5a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2.063a2 2 0 0 1-1.537-.72l-1.3-1.56A2 2 0 0 0 13.563 4H12"}],
  ["path",{"d":"m18 22-3-3 3-3"}],
  ["path",{"d":"m5.5 9 3-3H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h7"}],
  ["path",{"d":"m8.5 6-3-3"}],
  ["circle",{"cx":"12","cy":"12","r":"3"}]
])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 icon About new icons 🫧 metadata Improved metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant